using MediatR;
using S.M.SmartMedical.Domain.DTOs;
using S.M.SmartMedical.ErrorCode;

namespace S.M.SmartMedical.API.Read.Application.Query
{
    /// <summary>
    /// 获取轮播图详情查询
    /// </summary>
    public class GetCarouselDetailQuery : IRequest<APIResult<CarouselDto>>
    {
        /// <summary>
        /// 轮播图ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="id">轮播图ID</param>
        public GetCarouselDetailQuery(long id)
        {
            Id = id;
        }
    }
}